/*
 * @Author: your name
 * @Date: 2020-11-17 09:56:28
 * @LastEditTime: 2020-11-17 16:27:41
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /libraryWeb/utils/share.js
 */
export default {
  data() {
    return {
      share:{
        title: '陪诊小程序-用户端',
        path: '/pages/index/index',
        imageUrl: '/static/share.jpg'
      }
    }
  },
  onShareAppMessage(res) { //发送给朋友
    return {
      path: this.share.path,
      title: this.share.title,
      imageUrl: this.share.imageUrl
    }
  },
  onShareTimeline(res) {//分享到朋友圈
    return {
      path: this.share.path,
      title: this.share.title,
      imageUrl: this.share.imageUrl
    }
  },
  methods: {
  }
}